<%@ page import="com.okaysoft.ofb.ClientUserType; com.okaysoft.ofb.ClientUser" %>
<g:hiddenField name="id"/>
<div class="fieldcontain">
	<label for="clientName">
		用户组
	</label>
    <g:hiddenField name="client.id" id="clientId"/>
    <g:textField name="clientName" readonly="true" required="true" class="easyui-validatebox"/>
</div>

<div class="fieldcontain  ">
    <label for="name">
        <g:message code="client.name.label" default="名称" />

    </label>
    <g:textField name="name" required="true" class="easyui-validatebox"/>
</div>

<div class="fieldcontain ">
	<label for="code">
		<g:message code="client.code.label" default="编号" />
		
	</label>
	<g:textField name="code" required="true" class="easyui-validatebox"/>
</div>

<div class="fieldcontain ">
    <label for="code">
        <g:message code="client.code.label" default="是否VIP" />

    </label>
    <g:checkBox name="vip"/> 是
</div>
<div class="fieldcontain ">
    <label for="code">
        <g:message code="client.code.label" default="业务类型" />

    </label>
    <g:each in="${ClientUserType.Type.values()}" var="type">
        <g:checkBox name="type" value="${type.name()}"></g:checkBox>${type.label}
    </g:each>
</div>


<div class="fieldcontain ">
	<label for="description">
		<g:message code="client.description.label" default="备注" />
		
	</label>
	<g:textArea name="description" rows="5" cols="25"></g:textArea>
</div>


